package net.uiiang.android.alkaid.object;

import android.provider.BaseColumns;

public class FileManagerDbObject {

    public static final String DB_NAME = "alkaid_fm_db.db";
    public static final int DATABASE_VERSION = 2;
    public static final class Favorite implements BaseColumns {
        public static final String TABLE_NAME = "al_favorite";
        public static final String FILE_PATH = "file_path";
        public static final String FILE_NAME = "file_name";
        public static final String FILE_TYPE = "file_type";
        public static final String ALIAS = "alias";
        public static final String CREATED_DATE = "created";
        public static final String CREATE_TABLE_STR = "create table "
                + TABLE_NAME +" ("
                + BaseColumns._ID + " integer primary key autoincrement, "
                + FILE_PATH + " text not null," 
                + FILE_NAME + " text not null,"
                + FILE_TYPE + " text not null,"
                + ALIAS + " text not null,"
                + CREATED_DATE +  " INTEGER);";
    }
}
